[%if count($array)>0 || count($array_top)>0 %]
<table class="table table-hover">
	<thead>
		<tr class="bg_light kill_copy">
			<th class="text-center">[%pack:database_pack-espcms_lable_database_name%]</th>
			<th class="text-center">[%pack:database_pack-espcms_lable_database_type%]</th>
			<th class="text-center">[%pack:database_pack-espcms_lable_database_num%]</th>
			<th class="text-center">[%pack:database_pack-espcms_lable_database_size%]</th>
			<th class="text-center">[%pack:database_pack-espcms_lable_database_spsize%]</th>
			<th class="text-center">[%pack:database_pack-espcms_lable_database_uncode%]</th>
			<th class="text-center table_width_120">[%pack:public_pack-espcms_lable_control_name%]</th>

		</tr>
	</thead>
	<tbody>
		[%forlist from=$array key=i%]
		<tr data-id="[%$array[i].id%]" class="selecticon">
			<td class="text-center">[%$array[i].Name%]</td>
			<td class="text-center">[%$array[i].Engine%]</td>
			<td class="text-center">[%$array[i].Rows%]</td>
			<td class="text-center">[%$array[i].Data_length|format_size(1)%]</td>
			<td class="text-center">[%$array[i].Data_free|format_size(1)%]</td>
			<td class="text-center">[%$array[i].Collation%]</td>
			<td class="text-center">
				<button type="button" exurl="[%$array[i].optlink%]" class="btn btn-green btn-sm optbutton">[%pack:database_pack-espcms_lable_database_optword_botton%]</button>
			</td>
		</tr>
		[%/forlist%]
	</tbody>
</table>
[%else%]
<table class="table table-hover" id="tablelist">
	<tbody>
		<tr class="selecticon">
			<td class="text-center bort0" colspan="20">[%pack:public_pack-espcms_no_infomessage%]</td>
		</tr>
	</tbody>
</table>
[%/if%]